package com.voice.call.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.voice.call.entity.FeedBack;
import com.voice.call.mapper.FeedBackMapper;
import com.voice.call.service.FeedBackService;

@Service
public class FeedBackServiceImpl implements FeedBackService{
	
	@Resource
	private FeedBackMapper feedBackMapper;

	@Override
	public boolean addFeedBack(FeedBack entity){
		
		if(entity==null){
			return false;
		}
		return feedBackMapper.insert(entity)>0?true:false;
	}
}
